﻿using System.Windows;
using System.Windows.Controls;

namespace SUMO.MediaBrowser.Controls.Adorners.Frames {
    public partial class GlassFrame : UserControl, IAdornerFrame
    {
        public GlassFrame() {
            InitializeComponent();
        }

        /// <summary>
        /// Clipping rectangle specifying the visible area of the glass border
        /// </summary>
        Rect _borderClipRect = new Rect(6, 6, 0, 0);
        public new void SizeChanged(double newWidth, double newHeight) {
            _borderClipRect.Width = newWidth;
            _borderClipRect.Height = newHeight;
            borderClip.Rect = _borderClipRect;
        }

        public void Attached() {
        }

        public void Detached() {
        }

        public void SetZoom(double newZoomLevel)
        {
        }
    }
}
